package tutorial.DesignPatterns.Factory.Factory;

import tutorial.DesignPatterns.Factory.Product.Car;
import tutorial.DesignPatterns.Factory.Product.Vehicle;

/**
 * Implementarea pentru factory care creaza Masini(Car)
 * restu implementarilor nu le-am creat, dar e simplu de inteles.
 * Ar mai fi PlaneFacotry si BikeFacotry care la createVehicle returneaza
 * un avion(Plane), respectiv o bicicleta(Bike) 
 * @author Boogie
 */
public class CarFactory implements AbstractVehicleFactory{

    @Override
    public Vehicle createVehicle() {
        return new Car();
    }
    
}
